package com.db.williamchartdemo;

import com.db.williamchartdemo.slice.MainAbilitySlice;

import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;
import ohos.agp.window.service.Window;

/**
 * Hello world ability
 */
public class MainAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbilitySlice.class.getName());

        Window window = getWindow();
//        window.setStatusBarVisibility(Component.INVISIBLE);

        window.setStatusBarColor(0xFF85B496);
    }
}